In order to get all tour SCEM-IDs of a specified token you have to call https://driveandarrive-v1.cloud.ptvgroup.com/em/token/tour/scemids?token=<token>&source=<myProduct_Vx.y>.
Optional parameter From and Until allows filtering of SCEMIDS created in a specific time range. Optional parameter MaxItems specifies the number of SCEMIDs returned, default is 100. With optional parameter Descending results can be sorted by time SCEMIDS were created (true=descending, default=false) .
Example: https://driveandarrive-v1.cloud.ptvgroup.com/em/token/tour/scemids/?token=<token>&From=2015-04-09%2000:00:00&Until=2015-04-10%2000:00:00&MaxItems=50&Descending=true&source=<myProduct_Vx.y>
{ "scemids": [ "X1X1X1X1X1", // first SCEM-ID of token <token> "X2X2X2X2X2", // second SCEM-ID of token <token> ... "X9X9X9X9X9" // last SCEM-ID of token <token> ], "responseStatus": { "errorCode": "SUCCESS", "message": "000000000000" } }
validation / message | errorCode |
---|---|
Token does not exist. | TOKEN_ERROR |
© 2022 PTV Planung Transport Verkehr GmbH | Imprint